<template>
  <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
    <line :x1="config.x1" :y1="config.y1" :x2="config.x2" :y2="config.y2" stroke="red" stroke-width="1"></line>
  </svg>
</template>

<script>
export default {
  name: "guideSvg",
  props:{
    config:{
      default:()=>{
        return {
          x1:0,
          y1:0,
          x2:100,
          y2:100
        }
      }
    }
  }
}
</script>

<style scoped>

</style>